<template>
  <div class="app-nav">
    <router-link to="/cesiumdraw">cesiumdraw</router-link>
    <router-link to="/CesiumPlaneModel">CesiumPlaneModel</router-link>
    <router-link to="/Vumsium">Vumsium</router-link>
    <router-link to="/echart">echart</router-link>
  </div>
  <router-view v-slot="{ Component }">
    <transition>
      <keep-alive :exclude="['Airplane', 'CesiumContainer', 'vumsium']">
        <component :is="Component" />
      </keep-alive>
    </transition>
  </router-view>
</template>

<style lang="scss">
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  width: 100%;
  height: 100%;
}
.app-nav {
  position: fixed;
  top: 2em;
  left: 50em;
  z-index: 50;
  color: white;
  width: 25em;
  height: 3em;
  display: flex;
  justify-content: space-between;
}
</style>
